package com.rain.cy.business.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.rain.cy.framework.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;

/**
 * <p>
 *
 * </p>
 *
 * @author yuchen
 * @since 2021-10-02
 */
@Getter
@Setter
@TableName(value = "business_user_process_status", autoResultMap = true)
public class UserProcessStatusEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 患者ID
     */
    private Integer userId;

    /**
     * 疗程状态数据
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private Map<String, Integer> processStatusData;

}
